interface Advertisement {
	public void showAdvertisement();
	public String getCorpName();
}
class AdvertisementBoard {
	public void show (Advertisement adver) {
	System.out.println(adver.getCorpName()+"guanggao");
	adver.showAdvertisement();
	}
}
class WhiteCloudCorp implements Advertisement {
public void showAdvertisement() {
	System.out.println("@@@@@@@");
	System.out.println("plant");
	System.out.println("@@@@@@");
	}
public String getCorpName() {
	return "white clode";
	}
}
class BlackLandCorp implements Advertisement {
public void showAdvertisement() {
	System.out.println("***********");
	System.out.println("dad and mom");
	System.out.println("***********");
	}
public String getCorpName() {
	return "black di";
	}
}
public class p156{
public static void main(String args[]){
	AdvertisementBoard board=new AdvertisementBoard();
	board.show(new BlackLandCorp());
	board.show(new WhiteCloudCorp());
	}
}
